Page({
    data: {
        users: []
    },
    onLoad: function (options) {
        let list = []
        for (let i = 0; i < 10; i++) {
            list.push({
                name: '张三 67号',
                avatar: 'http://img.jf258.com/uploads/2014-08-24/211112959.jpg',
                msg: '每一次都是一次机会',
                praise: 123
            })
        }
        this.setData({
            users: list
        })
    },
    getUser(e){
        console.log(e,';e')
        wx.navigateTo({
            url: '/pages/user/user'
        })
    }
})